package com.wlz.constants;

/**
 * @author ：Administrator
 * @date ：2018/10/15/015 10:49
 */


public class Constants {
    /**
     * 直播地址
     */
    public static final String LIVE_URL = "REDIS_LIVEURL";

    /**
     * 注册短信验证码
     */
    public static final String REGISTER_MESSAGE_CODE = "REDIS_REGISTER_MESSAGE_CODE";

    /**
     * 登录短信验证码
     */
    public static final String LOGIN_MESSAGE_CODE = "REDIS_LOGIN_MESSAGE_CODE";

    /**
     * 用户登录凭证
     */
    public static final String LOGIN_TOKEN = "REDIS_LOGIN_TOKEN";

    /**
     * 抽奖奖品Redis存储
     */
    public static final String REDIS_LOTTERY_PRIZE = "LOTTERY_PRIZE_COUNT";

    /**
     * 分配用户账户控制数量
     */
    public static final String REDIS_LOTTERY_CONTROL_COMMON_COUNT = "REDIS_LOTTERY_CONTROL_COMMON_COUNT";

    /**
     * 指定分配用户账户控制数量
     */
    public static final String REDIS_LOTTERY_CONTROL_ASSGIN_COUNT = "REDIS_LOTTERY_CONTROL_ASSGIN_COUNT";

    /**
     * 第N次抽奖奖品的数量
     */
    public static final String REDIS_LOTTERY_PRIZE_SUMCOUNT_RANKING = "REDIS_LOTTERY_PRIZE_SUMCOUNT_RANKING_";

    /**
     * 哪次抽奖活动的哪个等级奖品剩余数
     */
    public static final String REDIS_LOTTERY_PRIZE_LOTTERYID_PRIZELEVEL = "REDIS_LOTTERY_PRIZE_LOTTERYID_PRIZELEVEL";

    /**
     * 网络访问正常
     */
    public static final int CODE_INTERNET_SUCCESS = 200;

    /**
     * 积分类型4
     */
    public static final int CODE_SIGN_TYPE_FOUR = 4;

    /**
     * 积分类型4 奖励积分
     */
    public static final int REWARD_SIGN_TYPE_FOUR = 20;

    /**
     * 只有手机号码的用户信息完成度
     */
    public static final Integer DEGREE_USER_INFO_ONLY_HAVE_PHONE_NUMBER = 14;

    public static final Integer DEGREE_USER_INFO_NOT_ONLY_HAVE_PHONE_NUMBER = 67;

    /**
     * 常用的文本信息
     */
    public static final String MESSAGE_REWARD_USER_REGISTER = "用户注册奖励";

    /**
     * 惠车多小程序默认用户名
     */
    public static final String MESSAGE_DEFALUT_USER_NAME = "惠车多用户";

    /**
     * 商城的商品分类的类别个数
     */
    public static final int MALL_GOOD_TYPE_NUMBER = 5;

    /**
     * 存储微信的access_token的redis的key
     */
    public static final String REDIS_WXACCESS_TOKEN = "REDIS_WXACCESS_TOKEN";

    /**
     * 微信的access_token失败标志
     */
    public static final String ERROR_SYMBER_GET_WXACCESS_TOKEN = "errcode";

    /**
     * redis中标识用户分享的微信分享码的标识
     */
    public static final String REDIS_USER_SHARE_WXACODE_URL = "REDIS_USER_SHARE_WXACODE_URL";

    /**
     * redis中标识用户分享的微信分享码的标识  (用于 投票系统 中 )
     */
    public static final String REDIS_USER_SHARE_WXMCODE_URL = "REDIS_USER_SHARE_WXMCODE_URL";

    /**
     * 报名表单最大个数
     */
    public static final int SIGN_FORM_MAX_COUNT = 5;

    /**
     * 报名表单的分享积分  wlz 修改
     */
    public static final int SIGN_FORM_REWARD_VALUE = 50;

    /**
     * 报名表单的分享积分奖励名称
     */
    public static final String SIGN_FORM_REWARD_NAME = "报名表单奖励积分";

    /**
     * 4s店线下签到奖励积分
     */
    public static final int S4_SIGN_REWARD_VALUE = 1000;

    public static final String S4_SIGN_REWARD_NAME = "4s店签到奖励积分";

    /**
     * 每年去4s店签到的最大次数
     */
    public static final int S4_SIGN_MAX_COUNT = 4;

    /**
     * 预约4s店服务且核销的奖励积分
     */
    public static final int BOOK_S4_SERVICE_VALUE = 5000;

    public static final String BOOK_S4_SERVICE_NAME = "预约4s店服务且核销的积分奖励";

    /**
     * 非默认的核销状态值
     */
    public static final int NOT_DEFAULT_CHARGE_OFF_VALUE = 1;

    /**
     * 默认的核销状态值
     */
    public static final int DEFAULT_CHARGE_OFF_VALUE = 0;

    /**
     * 4s店预约服务最大次数
     */
    public static final int BOOK_S4_SERVICE_MAX_COUNT = 10;

    /**
     * 4s店线下签到奖励积分
     */
    public static final int OFF_LINE_SIGN_REWARD_VALUE = 5;

    public static final String OFF_LINE_SIGN_REWARD_NAME = "4s店线下签到奖励";

    /**
     * 咨询报价的最高次数
     */
    public static final int ASK_PRICE_S4_SERVICE_MAX_COUNT = 10;

    /**
     * 咨询报价的积分奖励
     */
    public static final int ASK_PRICE_S4_SERVICE_REWARD_VALUE = 500;

    public static final String ASK_PRICE_S4_SERVICE_REWARD_NAME = "咨询报价积分奖励";

    /**
     * 分享记录类型1：分享到群
     */
    public static final int SHARE_RECODE_TYPE_TO_GROUP = 1;

    /**
     * 分享记录名称1：分享到群
     */
    public static final String SHARE_RECODE_NAME_TO_GROUP = "分享到群";

    /**
     * 分享到群的奖励积分
     */
    public static final int REWARD_SHARE_TO_GROUP_VALUE = 20;

    /**
     * 分享到群
     */
    public static final String REWARD_SHARE_TO_GROUP_NAME = "分享到群积分奖励";

    /**
     * 分享记录类型2：分享到朋友圈
     */
    public static final int SHARE_RECODE_TYPE_TO_FRIEND_CIRCLE = 2;

    /**
     * 分享记录名称2：分享到朋友圈
     */
    public static final String SHARE_RECODE_NAME_TO_FRIEND_CIRCLE = "分享到朋友圈";

    /**
     * 分享到朋友圈的奖励积分
     */
    public static final int REWARD_SHARE_TO_FRIEND_CIRCLE_VALUE = 20;

    /**
     * 分享到朋友圈
     */
    public static final String REWARD_SHARE_TO_FRIEND_CIRCLE_NAME = "分享给好友奖励";
    /**
     * 默认半径（单位KM）
     */
    public static final Double DEFAULT_RADIUS_VALUE = 0.5;
    /**
     * 最大的车展签到次数
     */
    public static final int SHOW_SIGN_MAX_COUNT = 2;
    public static final String SHOW_SIGN_REWARD_NAME = "车展签到奖励";
    public static final String TODAY_SIGN_MULTI_FRIENDS_RESULT = "TODAY_SIGN_MULTI_FRIENDS_RESULT_";
    public static final String TODAY_SIGN_MULTI_MOMENTS_RESULT = "TODAY_SIGN_MULTI_MOMENTS_RESULT_";
    public static final int REWARD_SHOW_SIGN_RECODE = 5000;
    public static final String REWARD_SHOW_SIGN_RECODE_NAME = "车展现场进行签到";
    public static final String SHOPPING_COST_VALUE = "购买商品消耗的积分";
    public static final String TODAY_NEW_USER_COME_REWARD = "TODAY_NEW_USER_COME_REWARD_";
    public static final String REDIS_FULI_DETAIL_CLICK_COUNT = "REDIS_FULI_DETAIL_CLICK_COUNT_";
    public static final int USER_INFO_IS_COMPLETE = 100;
    public static final String MESSAGE_COMPLETE_USER_INFO = "完善个人信息";

    /**
     * 汽车服务-预约试驾
     */
    public static final int CODE_CAR_SERVER_BOOK_DRIVER = 0;

    /**
     * 汽车服务-签到奖励
     */
    public static final int CODE_CAR_SERVER_SIGN_SCORE = 1;

    /**
     * 汽车服务-售后服务
     */
    public static final int CODE_CAR_SERVER_AFTER_SALE = 2;
    /**
     * 汽车服务-咨询报价
     */
    public static final int CODE_CAR_SERVER_ASK_PRICE = 4;

    public static final String STATUS_NO_USER_TO_SHARE = "NO";
    public static final String STATUS_YES_USER_TO_SHARE = "YES";
    public static final String PLACE_FRIENDS_USER_TO_SHARE = "friends";

    /**
     * 报名表单的奖励类型
     */
    public static final int CODE_REWARD_TYPE_SIGN_FORM = 1;
    public static final String REDIS_GET_USER_PHONE_OPENID = "REDIS_GET_USER_PHONE_OPENID_";
    public static final String REDIS_SESSION_KEY_TOKEN = "REDIS_SESSION_KEY_TOKEN_";
    public static final String REDIS_ACTIVITY_PAGE_VIEW_COUNT = "REDIS_ACTIVITY_PAGE_VIEW_COUNT_";
    public static final String REDIS_ACTIVITY_SHARE_COUNT = "REDIS_ACTIVITY_SHARE_COUNT_";
    public static final String REDIS_ACTIVITY_QR_CODE_ACTIVITY_ID_IS = "REDIS_ACTIVITY_QR_CODE_ACTIVITY_ID_IS_";
    /**
     * 4s店签到的奖励类型
     */
    static final int CODE_REWARD_TYPE_S4_SIGN_SCORE = 2;
    /**
     * 预约服务的奖励类型
     */
    static final int CODE_REWARD_TYPE_BOOK_SERVICE = 3;
    /**
     * 咨询报价的奖励类型
     */
    static final int CODE_REWARD_TYPE_ASK_PRICE = 4;
    /**
     * 售后服务的奖励类型
     */
    static final int CODE_REWARD_TYPE_AFTER_SALES = 5;
    /**
     * 商城购物的奖励类型
     */
    public static final int CODE_REWARD_TYPE_GOODS_SHOPPING = 6;
    /**
     * 车展签到的奖励类型
     */
    static final int CODE_REWARD_TYPE_SIGN_AUTO_SHOW = 7;
    /**
     * 分享到朋友圈的奖励类型
     */
    public static final int CODE_REWARD_TYPE_SHARE_TO_FRIENDS = 8;
    /**
     * 分享到群的奖励类型
     */
    public static final int CODE_REWARD_TYPE_SHARE_GROUP = 9;
    /**
     * 用户注册奖励类型
     */
    public static final int CODE_REWARD_TYPE_USER_REGISTER = 10;
    /**
     * 线下签到奖励类型
     */
    public static final int CODE_REWARD_TYPE_SIGN_ONLINE = 11;

    /**
     * 完善用户信息奖励类型
     */
    public static final int CODE_REWARD_TYPE_COMPLETE_USER_INFO = 12;


    /**
     * 询底价奖励类型
     */
    public static final int CODE_ASK_PRICE_TYPE_SIGN_ONLINE = 13;


    /**
     *  低价购车类型
     */
    public static final int CODE_LOW_PRICE_TYPE_SIGN_ONLINE = 14;

    /**
     * 购买商品类型
     */
    public static final int CODE_BUY_PRODUCT_TYPE_SIGN_ONLINE = 15;


    /**
     * 品牌数据缓存
     */
    public static final String CAR_BRAND_REDIS_DATA = "CAR_BRAND_REDIS_DATA_CODE";

    /**
     * 惠币积分比例缓存
     */
    public static final String INTEGRAL_SCALE_CODE = "INTEGRAL_SCALE_CODE";




}
